﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using Fakebook.Codes;

namespace Fakebook.Shared
{
    public partial class UcNestedPost : System.Web.UI.UserControl
    {

        public string HfPostId {

            get
            {
                return hfPostId.Value;
            }
            set 
            { 
                hfPostId.Value = value;
            } 
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnAnswer_Click(object sender, EventArgs e)
        {
            int result = answerSource.Insert();
            txtPost.Text = string.Empty;
        }






    }
}